package com.esd.crm.service;

import java.util.List;
import java.util.Map;

import com.esd.crm.entity.Orders;

public interface OrdersService {

	public int deleteByPrimaryKey(Integer id);

	public int insert(Orders record);

	public int insertSelective(Orders record);

	public Orders selectByPrimaryKey(Integer id);

	public int updateByPrimaryKeySelective(Orders record);

	public int updateByPrimaryKeyWithBLOBs(Orders record);

	public int updateByPrimaryKey(Orders record);
	
	int selectMaxOrderNumber(String nowdate);

	public List<Orders> selectOrderNumbers(Map<String, Object> param);

	public List<Orders> selectByParam(Map<String, Object> param);

	public Integer selectByParamCount(Map<String, Object> param);

	public Orders selectByOrderNumber(Map<String, Object> param);
	
	public Orders selectNumberTotalByOrderNumber(Map<String, Object> param);
	
	public Orders selectByCount(Map<String, Object> param);
}
